chore!: don't resize the image segmentation output by default, change param name#801
Merged
msluszniak merged 5 commits intomainfrom Feb 11, 2026
Merged
Conversation
msluszniak
approved these changes
Feb 11, 2026
packages/react-native-executorch/src/modules/computer_vision/ImageSegmentationModule.ts
Outdated
Show resolved
Hide resolved
msluszniak
reviewed
Feb 11, 2026
Member
msluszniak
left a comment
There was a problem hiding this comment.
Is computer vision - image segmentation app works ok now?
…mageSegmentationModule.ts Co-authored-by: Mateusz Sluszniak <56299341+msluszniak@users.noreply.github.com>
msluszniak
approved these changes
Feb 11, 2026
msluszniak
added a commit
to rizalibnu/react-native-executorch
that referenced
this pull request
Feb 16, 2026
… param name (software-mansion#801) ## Description This PR changes the param name of from `resize` to `resizeToInput` in image segmentation APIs. It also defaults to true now, as the performance impact is acceptable. ### Introduces a breaking change? - [x] Yes - [ ] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [x] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. --> --------- Co-authored-by: Mateusz Sluszniak <56299341+msluszniak@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR changes the param name of from
resizetoresizeToInputin image segmentation APIs. It also defaults to true now, as the performance impact is acceptable.Introduces a breaking change?
Type of change
Tested on
Testing instructions
Screenshots
Related issues
Checklist
Additional notes